/*
 * CSPDListItemDrawer.cpp
 *
 *  Created on: 2010-12-5
 *      Author: Administrator
 */

#include "SPDListItemDrawer.h"
#include "SPDListBox.h"

#include <eiktxlbx.h>

CSPDListItemDrawer::CSPDListItemDrawer(MTextListBoxModel* aTextListBoxModel, 
		const CFont* aFont, CColumnListBoxData* aCellData, const CSPDListBox *aListBox)
:CColumnListBoxItemDrawer(aTextListBoxModel, aFont, aCellData), 
 iListBox(*aListBox)
	{
	
	}

CSPDListItemDrawer::~CSPDListItemDrawer()
	{
	// TODO Auto-generated destructor stub
	}
	
void CSPDListItemDrawer::DrawActualItem(TInt aItemIndex, const TRect& aActualItemRect, 
		TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aViewIsDimmed, TBool aItemIsSelected) const
	{
	TRect rc = aActualItemRect;
	//rc.Grow(0, 50);
	
	CColumnListBoxItemDrawer::DrawActualItem(aItemIndex, rc, 
			aItemIsCurrent, aViewIsEmphasized, aViewIsDimmed, aItemIsSelected);
	}

